<!--<template>-->
<!--  <div class="app-container">-->
<!--&lt;!&ndash;    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">&ndash;&gt;-->
<!--&lt;!&ndash;      <el-form-item label="房型名称" prop="roomTypeName">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-input&ndash;&gt;-->
<!--&lt;!&ndash;          v-model="queryParams.roomTypeName"&ndash;&gt;-->
<!--&lt;!&ndash;          placeholder="请输入房型名称"&ndash;&gt;-->
<!--&lt;!&ndash;          clearable&ndash;&gt;-->
<!--&lt;!&ndash;          @keyup.enter.native="handleQuery"&ndash;&gt;-->
<!--&lt;!&ndash;        />&ndash;&gt;-->
<!--&lt;!&ndash;      </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-form-item label="是否有窗(YN)" prop="isWindow">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-select v-model="queryParams.isWindow" placeholder="请选择是否有窗(YN)" clearable>&ndash;&gt;-->
<!--&lt;!&ndash;          <el-option&ndash;&gt;-->
<!--&lt;!&ndash;            v-for="dict in dict.type.sys_yes_no"&ndash;&gt;-->
<!--&lt;!&ndash;            :key="dict.value"&ndash;&gt;-->
<!--&lt;!&ndash;            :label="dict.label"&ndash;&gt;-->
<!--&lt;!&ndash;            :value="dict.value"&ndash;&gt;-->
<!--&lt;!&ndash;          />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-select>&ndash;&gt;-->
<!--&lt;!&ndash;      </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-form-item label="来源" prop="source">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-input&ndash;&gt;-->
<!--&lt;!&ndash;          v-model="queryParams.source"&ndash;&gt;-->
<!--&lt;!&ndash;          placeholder="请输入来源"&ndash;&gt;-->
<!--&lt;!&ndash;          clearable&ndash;&gt;-->
<!--&lt;!&ndash;          @keyup.enter.native="handleQuery"&ndash;&gt;-->
<!--&lt;!&ndash;        />&ndash;&gt;-->
<!--&lt;!&ndash;      </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-form-item label="房型简称" prop="roomTypeShorter">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-input&ndash;&gt;-->
<!--&lt;!&ndash;          v-model="queryParams.roomTypeShorter"&ndash;&gt;-->
<!--&lt;!&ndash;          placeholder="请输入房型简称"&ndash;&gt;-->
<!--&lt;!&ndash;          clearable&ndash;&gt;-->
<!--&lt;!&ndash;          @keyup.enter.native="handleQuery"&ndash;&gt;-->
<!--&lt;!&ndash;        />&ndash;&gt;-->
<!--&lt;!&ndash;      </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-form-item label="房间数" prop="roomNum">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-input&ndash;&gt;-->
<!--&lt;!&ndash;          v-model="queryParams.roomNum"&ndash;&gt;-->
<!--&lt;!&ndash;          placeholder="请输入房间数"&ndash;&gt;-->
<!--&lt;!&ndash;          clearable&ndash;&gt;-->
<!--&lt;!&ndash;          @keyup.enter.native="handleQuery"&ndash;&gt;-->
<!--&lt;!&ndash;        />&ndash;&gt;-->
<!--&lt;!&ndash;      </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-form-item label="状态" prop="status">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-select v-model="queryParams.status" placeholder="请选择状态" clearable>&ndash;&gt;-->
<!--&lt;!&ndash;          <el-option&ndash;&gt;-->
<!--&lt;!&ndash;            v-for="dict in dict.type.hot_room_status"&ndash;&gt;-->
<!--&lt;!&ndash;            :key="dict.value"&ndash;&gt;-->
<!--&lt;!&ndash;            :label="dict.label"&ndash;&gt;-->
<!--&lt;!&ndash;            :value="dict.value"&ndash;&gt;-->
<!--&lt;!&ndash;          />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-select>&ndash;&gt;-->
<!--&lt;!&ndash;      </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-form-item label="最大入住人数" prop="maxPersonNum">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-input&ndash;&gt;-->
<!--&lt;!&ndash;          v-model="queryParams.maxPersonNum"&ndash;&gt;-->
<!--&lt;!&ndash;          placeholder="请输入最大入住人数"&ndash;&gt;-->
<!--&lt;!&ndash;          clearable&ndash;&gt;-->
<!--&lt;!&ndash;          @keyup.enter.native="handleQuery"&ndash;&gt;-->
<!--&lt;!&ndash;        />&ndash;&gt;-->
<!--&lt;!&ndash;      </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-form-item label="床型(字大床,双人床,圆床,双床,炕,大通铺,榻榻米,儿童床,儿童双人床,单人沙发床,双人沙发床,双层床,地上床垫,单人床,其他)" prop="bedType">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-select v-model="queryParams.bedType" placeholder="请选择床型(字大床,双人床,圆床,双床,炕,大通铺,榻榻米,儿童床,儿童双人床,单人沙发床,双人沙发床,双层床,地上床垫,单人床,其他)" clearable>&ndash;&gt;-->
<!--&lt;!&ndash;          <el-option&ndash;&gt;-->
<!--&lt;!&ndash;            v-for="dict in dict.type.hot_room_bed_type"&ndash;&gt;-->
<!--&lt;!&ndash;            :key="dict.value"&ndash;&gt;-->
<!--&lt;!&ndash;            :label="dict.label"&ndash;&gt;-->
<!--&lt;!&ndash;            :value="dict.value"&ndash;&gt;-->
<!--&lt;!&ndash;          />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-select>&ndash;&gt;-->
<!--&lt;!&ndash;      </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-form-item label="床位数" prop="bedNum">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-input&ndash;&gt;-->
<!--&lt;!&ndash;          v-model="queryParams.bedNum"&ndash;&gt;-->
<!--&lt;!&ndash;          placeholder="请输入床位数"&ndash;&gt;-->
<!--&lt;!&ndash;          clearable&ndash;&gt;-->
<!--&lt;!&ndash;          @keyup.enter.native="handleQuery"&ndash;&gt;-->
<!--&lt;!&ndash;        />&ndash;&gt;-->
<!--&lt;!&ndash;      </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-form-item label="排序" prop="sort">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-input&ndash;&gt;-->
<!--&lt;!&ndash;          v-model="queryParams.sort"&ndash;&gt;-->
<!--&lt;!&ndash;          placeholder="请输入排序"&ndash;&gt;-->
<!--&lt;!&ndash;          clearable&ndash;&gt;-->
<!--&lt;!&ndash;          @keyup.enter.native="handleQuery"&ndash;&gt;-->
<!--&lt;!&ndash;        />&ndash;&gt;-->
<!--&lt;!&ndash;      </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>&ndash;&gt;-->
<!--&lt;!&ndash;      </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;    </el-form>&ndash;&gt;-->

<!--&lt;!&ndash;    <el-row :gutter="10" class="mb8">&ndash;&gt;-->
<!--&lt;!&ndash;      <el-col :span="1.5">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-button&ndash;&gt;-->
<!--&lt;!&ndash;          type="primary"&ndash;&gt;-->
<!--&lt;!&ndash;          plain&ndash;&gt;-->
<!--&lt;!&ndash;          icon="el-icon-plus"&ndash;&gt;-->
<!--&lt;!&ndash;          size="mini"&ndash;&gt;-->
<!--&lt;!&ndash;          @click="handleAdd"&ndash;&gt;-->
<!--&lt;!&ndash;          v-hasPermi="['hotal:type:add']"&ndash;&gt;-->
<!--&lt;!&ndash;        >新增</el-button>&ndash;&gt;-->
<!--&lt;!&ndash;      </el-col>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-col :span="1.5">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-button&ndash;&gt;-->
<!--&lt;!&ndash;          type="success"&ndash;&gt;-->
<!--&lt;!&ndash;          plain&ndash;&gt;-->
<!--&lt;!&ndash;          icon="el-icon-edit"&ndash;&gt;-->
<!--&lt;!&ndash;          size="mini"&ndash;&gt;-->
<!--&lt;!&ndash;          :disabled="single"&ndash;&gt;-->
<!--&lt;!&ndash;          @click="handleUpdate"&ndash;&gt;-->
<!--&lt;!&ndash;          v-hasPermi="['hotal:type:edit']"&ndash;&gt;-->
<!--&lt;!&ndash;        >修改</el-button>&ndash;&gt;-->
<!--&lt;!&ndash;      </el-col>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-col :span="1.5">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-button&ndash;&gt;-->
<!--&lt;!&ndash;          type="danger"&ndash;&gt;-->
<!--&lt;!&ndash;          plain&ndash;&gt;-->
<!--&lt;!&ndash;          icon="el-icon-delete"&ndash;&gt;-->
<!--&lt;!&ndash;          size="mini"&ndash;&gt;-->
<!--&lt;!&ndash;          :disabled="multiple"&ndash;&gt;-->
<!--&lt;!&ndash;          @click="handleDelete"&ndash;&gt;-->
<!--&lt;!&ndash;          v-hasPermi="['hotal:type:remove']"&ndash;&gt;-->
<!--&lt;!&ndash;        >删除</el-button>&ndash;&gt;-->
<!--&lt;!&ndash;      </el-col>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-col :span="1.5">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-button&ndash;&gt;-->
<!--&lt;!&ndash;          type="warning"&ndash;&gt;-->
<!--&lt;!&ndash;          plain&ndash;&gt;-->
<!--&lt;!&ndash;          icon="el-icon-download"&ndash;&gt;-->
<!--&lt;!&ndash;          size="mini"&ndash;&gt;-->
<!--&lt;!&ndash;          @click="handleExport"&ndash;&gt;-->
<!--&lt;!&ndash;          v-hasPermi="['hotal:type:export']"&ndash;&gt;-->
<!--&lt;!&ndash;        >导出</el-button>&ndash;&gt;-->
<!--&lt;!&ndash;      </el-col>&ndash;&gt;-->
<!--&lt;!&ndash;      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>&ndash;&gt;-->
<!--&lt;!&ndash;    </el-row>&ndash;&gt;-->

<!--&lt;!&ndash;    <el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange">&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column type="selection" width="55" align="center" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="房型id" align="center" prop="roomTypeId" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="房型名称" align="center" prop="roomTypeName" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="房间基本设施" align="center" prop="basic" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="房间重要设施" align="center" prop="important" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="是否有窗(YN)" align="center" prop="isWindow">&ndash;&gt;-->
<!--&lt;!&ndash;        <template slot-scope="scope">&ndash;&gt;-->
<!--&lt;!&ndash;          <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.isWindow"/>&ndash;&gt;-->
<!--&lt;!&ndash;        </template>&ndash;&gt;-->
<!--&lt;!&ndash;      </el-table-column>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="品牌id" align="center" prop="brandId" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="门店id" align="center" prop="hotalId" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="来源" align="center" prop="source" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="房型代码" align="center" prop="roomTypeNo" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="房型简称" align="center" prop="roomTypeShorter" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="房间数" align="center" prop="roomNum" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="状态" align="center" prop="status">&ndash;&gt;-->
<!--&lt;!&ndash;        <template slot-scope="scope">&ndash;&gt;-->
<!--&lt;!&ndash;          <dict-tag :options="dict.type.hot_room_status" :value="scope.row.status"/>&ndash;&gt;-->
<!--&lt;!&ndash;        </template>&ndash;&gt;-->
<!--&lt;!&ndash;      </el-table-column>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="最大入住人数" align="center" prop="maxPersonNum" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="床型(字大床,双人床,圆床,双床,炕,大通铺,榻榻米,儿童床,儿童双人床,单人沙发床,双人沙发床,双层床,地上床垫,单人床,其他)" align="center" prop="bedType">&ndash;&gt;-->
<!--&lt;!&ndash;        <template slot-scope="scope">&ndash;&gt;-->
<!--&lt;!&ndash;          <dict-tag :options="dict.type.hot_room_bed_type" :value="scope.row.bedType"/>&ndash;&gt;-->
<!--&lt;!&ndash;        </template>&ndash;&gt;-->
<!--&lt;!&ndash;      </el-table-column>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="床位数" align="center" prop="bedNum" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="排序" align="center" prop="sort" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="备注" align="center" prop="remark" />&ndash;&gt;-->
<!--&lt;!&ndash;      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">&ndash;&gt;-->
<!--&lt;!&ndash;        <template slot-scope="scope">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-button&ndash;&gt;-->
<!--&lt;!&ndash;            size="mini"&ndash;&gt;-->
<!--&lt;!&ndash;            type="text"&ndash;&gt;-->
<!--&lt;!&ndash;            icon="el-icon-edit"&ndash;&gt;-->
<!--&lt;!&ndash;            @click="handleUpdate(scope.row)"&ndash;&gt;-->
<!--&lt;!&ndash;            v-hasPermi="['hotal:type:edit']"&ndash;&gt;-->
<!--&lt;!&ndash;          >修改</el-button>&ndash;&gt;-->
<!--&lt;!&ndash;          <el-button&ndash;&gt;-->
<!--&lt;!&ndash;            size="mini"&ndash;&gt;-->
<!--&lt;!&ndash;            type="text"&ndash;&gt;-->
<!--&lt;!&ndash;            icon="el-icon-delete"&ndash;&gt;-->
<!--&lt;!&ndash;            @click="handleDelete(scope.row)"&ndash;&gt;-->
<!--&lt;!&ndash;            v-hasPermi="['hotal:type:remove']"&ndash;&gt;-->
<!--&lt;!&ndash;          >删除</el-button>&ndash;&gt;-->
<!--&lt;!&ndash;        </template>&ndash;&gt;-->
<!--&lt;!&ndash;      </el-table-column>&ndash;&gt;-->
<!--&lt;!&ndash;    </el-table>&ndash;&gt;-->

<!--&lt;!&ndash;    <pagination&ndash;&gt;-->
<!--&lt;!&ndash;      v-show="total>0"&ndash;&gt;-->
<!--&lt;!&ndash;      :total="total"&ndash;&gt;-->
<!--&lt;!&ndash;      :page.sync="queryParams.pageNum"&ndash;&gt;-->
<!--&lt;!&ndash;      :limit.sync="queryParams.pageSize"&ndash;&gt;-->
<!--&lt;!&ndash;      @pagination="getList"&ndash;&gt;-->
<!--&lt;!&ndash;    />&ndash;&gt;-->

<!--&lt;!&ndash;    &lt;!&ndash; 添加或修改房间类型对话框 &ndash;&gt;&ndash;&gt;-->
<!--&lt;!&ndash;    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>&ndash;&gt;-->
<!--&lt;!&ndash;      <el-form ref="form" :model="form" :rules="rules" label-width="80px">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="房型名称" prop="roomTypeName">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-input v-model="form.roomTypeName" placeholder="请输入房型名称" />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="房间基本设施" prop="basic">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-input v-model="form.basic" type="textarea" placeholder="请输入内容" />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="房间重要设施" prop="important">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-input v-model="form.important" type="textarea" placeholder="请输入内容" />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="是否有窗(YN)" prop="isWindow">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-select v-model="form.isWindow" placeholder="请选择是否有窗(YN)">&ndash;&gt;-->
<!--&lt;!&ndash;            <el-option&ndash;&gt;-->
<!--&lt;!&ndash;              v-for="dict in dict.type.sys_yes_no"&ndash;&gt;-->
<!--&lt;!&ndash;              :key="dict.value"&ndash;&gt;-->
<!--&lt;!&ndash;              :label="dict.label"&ndash;&gt;-->
<!--&lt;!&ndash;              :value="dict.value"&ndash;&gt;-->
<!--&lt;!&ndash;            ></el-option>&ndash;&gt;-->
<!--&lt;!&ndash;          </el-select>&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="来源" prop="source">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-input v-model="form.source" placeholder="请输入来源" />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="房型代码" prop="roomTypeNo">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-input v-model="form.roomTypeNo" type="textarea" placeholder="请输入内容" />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="房型简称" prop="roomTypeShorter">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-input v-model="form.roomTypeShorter" placeholder="请输入房型简称" />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="房间数" prop="roomNum">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-input v-model="form.roomNum" placeholder="请输入房间数" />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="状态" prop="status">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-radio-group v-model="form.status">&ndash;&gt;-->
<!--&lt;!&ndash;            <el-radio&ndash;&gt;-->
<!--&lt;!&ndash;              v-for="dict in dict.type.hot_room_status"&ndash;&gt;-->
<!--&lt;!&ndash;              :key="dict.value"&ndash;&gt;-->
<!--&lt;!&ndash;              :label="dict.value"&ndash;&gt;-->
<!--&lt;!&ndash;            >{{dict.label}}</el-radio>&ndash;&gt;-->
<!--&lt;!&ndash;          </el-radio-group>&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="最大入住人数" prop="maxPersonNum">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-input v-model="form.maxPersonNum" placeholder="请输入最大入住人数" />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="床型(字大床,双人床,圆床,双床,炕,大通铺,榻榻米,儿童床,儿童双人床,单人沙发床,双人沙发床,双层床,地上床垫,单人床,其他)" prop="bedType">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-select v-model="form.bedType" placeholder="请选择床型(字大床,双人床,圆床,双床,炕,大通铺,榻榻米,儿童床,儿童双人床,单人沙发床,双人沙发床,双层床,地上床垫,单人床,其他)">&ndash;&gt;-->
<!--&lt;!&ndash;            <el-option&ndash;&gt;-->
<!--&lt;!&ndash;              v-for="dict in dict.type.hot_room_bed_type"&ndash;&gt;-->
<!--&lt;!&ndash;              :key="dict.value"&ndash;&gt;-->
<!--&lt;!&ndash;              :label="dict.label"&ndash;&gt;-->
<!--&lt;!&ndash;              :value="dict.value"&ndash;&gt;-->
<!--&lt;!&ndash;            ></el-option>&ndash;&gt;-->
<!--&lt;!&ndash;          </el-select>&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="床位数" prop="bedNum">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-input v-model="form.bedNum" placeholder="请输入床位数" />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="排序" prop="sort">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-input v-model="form.sort" placeholder="请输入排序" />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="备注" prop="remark">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-input v-model="form.remark" placeholder="请输入备注" />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-form-item label="是否删除" prop="delFlag">&ndash;&gt;-->
<!--&lt;!&ndash;          <el-input v-model="form.delFlag" placeholder="请输入是否删除" />&ndash;&gt;-->
<!--&lt;!&ndash;        </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash;      </el-form>&ndash;&gt;-->
<!--&lt;!&ndash;      <div slot="footer" class="dialog-footer">&ndash;&gt;-->
<!--&lt;!&ndash;        <el-button type="primary" @click="submitForm">确 定</el-button>&ndash;&gt;-->
<!--&lt;!&ndash;        <el-button @click="cancel">取 消</el-button>&ndash;&gt;-->
<!--&lt;!&ndash;      </div>&ndash;&gt;-->
<!--&lt;!&ndash;    </el-dialog>&ndash;&gt;-->
<!--  </div>-->
<!--</template>-->

<!--<script>-->
<!--import { listType, getType, delType, addType, updateType } from "@/api/hotal/type";-->

<!--export default {-->
<!--  name: "Type",-->
<!--  dicts: ['hot_room_bed_type', 'sys_yes_no', 'hot_room_status'],-->
<!--  data() {-->
<!--    return {-->
<!--      // 遮罩层-->
<!--      loading: true,-->
<!--      // 选中数组-->
<!--      ids: [],-->
<!--      // 非单个禁用-->
<!--      single: true,-->
<!--      // 非多个禁用-->
<!--      multiple: true,-->
<!--      // 显示搜索条件-->
<!--      showSearch: true,-->
<!--      // 总条数-->
<!--      total: 0,-->
<!--      // 房间类型表格数据-->
<!--      typeList: [],-->
<!--      // 弹出层标题-->
<!--      title: "",-->
<!--      // 是否显示弹出层-->
<!--      open: false,-->
<!--      // 查询参数-->
<!--      queryParams: {-->
<!--        pageNum: 1,-->
<!--        pageSize: 10,-->
<!--        roomTypeName: null,-->
<!--        basic: null,-->
<!--        important: null,-->
<!--        isWindow: null,-->
<!--        brandId: null,-->
<!--        hotalId: null,-->
<!--        source: null,-->
<!--        roomTypeNo: null,-->
<!--        roomTypeShorter: null,-->
<!--        roomNum: null,-->
<!--        status: null,-->
<!--        maxPersonNum: null,-->
<!--        bedType: null,-->
<!--        bedNum: null,-->
<!--        sort: null,-->
<!--      },-->
<!--      // 表单参数-->
<!--      form: {},-->
<!--      // 表单校验-->
<!--      rules: {-->
<!--      }-->
<!--    };-->
<!--  },-->
<!--  created() {-->
<!--    this.getList();-->
<!--  },-->
<!--  methods: {-->
<!--    /** 查询房间类型列表 */-->
<!--    getList() {-->
<!--      this.loading = true;-->
<!--      listType(this.queryParams).then(response => {-->
<!--        this.typeList = response.rows;-->
<!--        this.total = response.total;-->
<!--        this.loading = false;-->
<!--      });-->
<!--    },-->
<!--    // 取消按钮-->
<!--    cancel() {-->
<!--      this.open = false;-->
<!--      this.reset();-->
<!--    },-->
<!--    // 表单重置-->
<!--    reset() {-->
<!--      this.form = {-->
<!--        roomTypeId: null,-->
<!--        roomTypeName: null,-->
<!--        basic: null,-->
<!--        important: null,-->
<!--        isWindow: null,-->
<!--        brandId: null,-->
<!--        hotalId: null,-->
<!--        source: null,-->
<!--        roomTypeNo: null,-->
<!--        roomTypeShorter: null,-->
<!--        roomNum: null,-->
<!--        status: null,-->
<!--        maxPersonNum: null,-->
<!--        bedType: null,-->
<!--        bedNum: null,-->
<!--        sort: null,-->
<!--        createTime: null,-->
<!--        updateTime: null,-->
<!--        createBy: null,-->
<!--        updateBy: null,-->
<!--        remark: null,-->
<!--        delFlag: null-->
<!--      };-->
<!--      this.resetForm("form");-->
<!--    },-->
<!--    /** 搜索按钮操作 */-->
<!--    handleQuery() {-->
<!--      this.queryParams.pageNum = 1;-->
<!--      this.getList();-->
<!--    },-->
<!--    /** 重置按钮操作 */-->
<!--    resetQuery() {-->
<!--      this.resetForm("queryForm");-->
<!--      this.handleQuery();-->
<!--    },-->
<!--    // 多选框选中数据-->
<!--    handleSelectionChange(selection) {-->
<!--      this.ids = selection.map(item => item.roomTypeId)-->
<!--      this.single = selection.length!==1-->
<!--      this.multiple = !selection.length-->
<!--    },-->
<!--    /** 新增按钮操作 */-->
<!--    handleAdd() {-->
<!--      this.reset();-->
<!--      this.open = true;-->
<!--      this.title = "添加房间类型";-->
<!--    },-->
<!--    /** 修改按钮操作 */-->
<!--    handleUpdate(row) {-->
<!--      this.reset();-->
<!--      const roomTypeId = row.roomTypeId || this.ids-->
<!--      getType(roomTypeId).then(response => {-->
<!--        this.form = response.data;-->
<!--        this.open = true;-->
<!--        this.title = "修改房间类型";-->
<!--      });-->
<!--    },-->
<!--    /** 提交按钮 */-->
<!--    submitForm() {-->
<!--      this.$refs["form"].validate(valid => {-->
<!--        if (valid) {-->
<!--          if (this.form.roomTypeId != null) {-->
<!--            updateType(this.form).then(response => {-->
<!--              this.$modal.msgSuccess("修改成功");-->
<!--              this.open = false;-->
<!--              this.getList();-->
<!--            });-->
<!--          } else {-->
<!--            addType(this.form).then(response => {-->
<!--              this.$modal.msgSuccess("新增成功");-->
<!--              this.open = false;-->
<!--              this.getList();-->
<!--            });-->
<!--          }-->
<!--        }-->
<!--      });-->
<!--    },-->
<!--    /** 删除按钮操作 */-->
<!--    handleDelete(row) {-->

<!--      const roomTypeIds = row.roomTypeId || this.ids;-->
<!--      this.$modal.confirm('是否确认删除房间类型编号为"' + roomTypeIds + '"的数据项？').then(function() {-->
<!--        return delType(roomTypeIds);-->
<!--      }).then(() => {-->
<!--        this.getList();-->
<!--        this.$modal.msgSuccess("删除成功");-->
<!--      }).catch(() => {});-->
<!--    },-->
<!--    /** 导出按钮操作 */-->
<!--    handleExport() {-->
<!--      this.download('hotal/type/export', {-->
<!--        ...this.queryParams-->
<!--      }, `type_${new Date().getTime()}.xlsx`)-->
<!--    }-->
<!--  }-->
<!--};-->
<!--</script>-->
